package org.ezplatform.office.forum.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import org.ezplatform.core.annotation.MetaData;
import org.ezplatform.core.entity.BaseSimpleEntity;

/** 
* @author 作者: wujs
* @version 创建时间：2018年12月5日 上午11:39:24 
* 类说明  论坛帖子标签关联表
*/
@MetaData(value = " 论坛帖子标签关联表")
@Entity(name = "ForumPostLabel")
@Table(name = "oa_forum_post_label", uniqueConstraints = { @UniqueConstraint(columnNames = "id") })
public class ForumPostLabel  extends BaseSimpleEntity{

	private static final long serialVersionUID = 2316510536026723815L;
	
    @MetaData(value = "贴子id")
    @Column(name = "post_id", length = 32)
    private String postId;
    
    @MetaData(value = "标签id")
    @Column(name = "label_id", length = 32)
    private String labelId;

	public String getPostId() {
		return postId;
	}

	public void setPostId(String postId) {
		this.postId = postId;
	}

	public String getLabelId() {
		return labelId;
	}

	public void setLabelId(String labelId) {
		this.labelId = labelId;
	}
    
    
}
